//
//  HtmlHelper.h
//  iCarStyle
//
//  Created by liu nian on 13-9-11.
//  Copyright (c) 2013年 liunian. All rights reserved.
//

#import <Foundation/Foundation.h>


#if NS_BLOCKS_AVAILABLE
@class PicModel;
typedef void (^ItemsBlock)(NSArray *items);
typedef void (^UpdateItemsBlock)(PicModel *item);
#endif

@interface HtmlHelper : NSObject
- (void)paserNewsListHtml:(NSURL *)URL itemsBlock:(ItemsBlock)block;
- (void)paserPicListHtml:(NSURL*)URL itemsBlock:(ItemsBlock)block;

- (void )paserPicListHtml:(NSURL*)URL callbackBlock:(ItemsBlock)block updateItemsBlock:(ItemsBlock)updateBlock;
@end
